package com.chezhujie.www.domain;

import com.chezhujie.www.core.init.mysql.BaseEntity;
import com.chezhujie.www.core.init.mysql.annotation.Column;
import com.chezhujie.www.core.init.mysql.annotation.Entity;
import com.chezhujie.www.core.init.mysql.annotation.Id;
import com.chezhujie.www.core.init.mysql.annotation.Table;

import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/5/31.
 */
@Entity
@Table(name = "czj_comoditytype",describe = "商品类型表")
public class Czjcommoditytype extends BaseEntity{
    @Id
    @Column(length = 19,describe = "主键",inputType = "hidden")
    private String id;
    @Column(length = 19,describe = "上一级",inputType = "select",inputCode = "str")
    private String supId;
    @Column(length = 19,describe = "类别",inputType = "text")
    private String typeName;
    @Column(describe = "创建时间",inputType = "date")
    private Date createTime;
    @Column(length = 100,describe = "备注",inputType = "text")
    private String remark;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSupId() {
        return supId;
    }

    public void setSupId(String supId) {
        this.supId = supId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
